package org.biouno.unochoice.bean;

import org.biouno.unochoice.BuildConfig;

import java.util.List;

public class UserRemoteConfigBean {
    private String name;
    private String refspec;
    private String url;
    private String credentialsId;
    private String repositoryName;
    private String script;
    private String branch;
    private List<BuildConfigBean> buildConfigs;

    public String getName() {
        return name;
    }

    public List<BuildConfigBean> getBuildConfigs() {
        return buildConfigs;
    }

    public void setBuildConfigs(List<BuildConfigBean> buildConfigs) {
        this.buildConfigs = buildConfigs;
    }

    public UserRemoteConfigBean(String name, String refspec, String url, String credentialsId, String repositoryName, String script, String branch) {
        this.name = name;
        this.refspec = refspec;
        this.url = url;
        this.credentialsId = credentialsId;
        this.repositoryName = repositoryName;
        this.script = script;
        this.branch = branch;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRefspec() {
        return refspec;
    }

    public void setRefspec(String refspec) {
        this.refspec = refspec;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCredentialsId() {
        return credentialsId;
    }

    public void setCredentialsId(String credentialsId) {
        this.credentialsId = credentialsId;
    }

    public String getRepositoryName() {
        return repositoryName;
    }

    public void setRepositoryName(String repositoryName) {
        this.repositoryName = repositoryName;
    }

    public String getScript() {
        return script;
    }

    public void setScript(String script) {
        this.script = script;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }
}
